ActiveReports 11 Server User Guide
WinForms REST API Sample
ActiveReports 11 Server User Guide > Samples and Walkthroughs > Samples > WinForms REST API Sample

The ActiveReports Server installation includes a REST API sample for WinForms that you can find in:

C:\ActiveReports 11 Server\SDK\Samples\RestApi Sample WinForms

This sample is also part of the ActiveReports Server Samples project that you can find in:

C:\ActiveReports 11 Server\SDK\Samples

The REST API sample demonstrates how to call the most frequently used REST API methods in your application linked to ActiveReports Server. To open the solution, double-click the WinForms REST API Sample.csproj file.

To run the sample

  1. When you run the sample, following login screen appears:



  2. Enter the login information. Following RestfulAPI sample window appears:
    Image Title

    Image Title



  3. Double-click a report from the list of reports to preview it in the right pane.

Note:

When a report is open for preview, you can choose one of the following operations to perform on the report.

Save as

You can choose from the following available formats to save your report. When you click the Run button, the report is saved in the selected format.

Print

When you click the Run button with the selected Print option, the following window appears. Select the Server printing options and click Print

For the ActiveReports Server REST API documentation, please see http://arhelp.grapecity.com/webhelp/AR11Server/WebAPI/index.html.

See Also